package com.beagle.njddapp.bean;

import java.io.Serializable;

/**
 * @author hxx
 * @date 2021-04-27 19:09
 */
public class OcrIdPhotoBean implements Serializable {

    /**
     * error_code : 0
     * reason : 成功
     * result : {"idcardno":"","name":"","nationality":"","sex":"","birth":"","address":"","image_status":"non_idcard","direction":"-1"}
     */

    private int error_code;
    private String reason;
    private ResultBean result;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable{
        /**
         * idcardno :
         * name :
         * nationality :
         * sex :
         * birth :
         * address :
         * image_status : non_idcard
         * direction : -1
         */

        private String idcardno;
        private String name;
        private String nationality;
        private String sex;
        private String birth;
        private String address;
        private String image_status;
        private String direction;

        public String getIdcardno() {
            return idcardno;
        }

        public void setIdcardno(String idcardno) {
            this.idcardno = idcardno;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNationality() {
            return nationality;
        }

        public void setNationality(String nationality) {
            this.nationality = nationality;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getBirth() {
            return birth;
        }

        public void setBirth(String birth) {
            this.birth = birth;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getImage_status() {
            return image_status;
        }

        public void setImage_status(String image_status) {
            this.image_status = image_status;
        }

        public String getDirection() {
            return direction;
        }

        public void setDirection(String direction) {
            this.direction = direction;
        }
    }
}
